package com.madao.im.mapper;

import com.madao.im.domain.entity.Group;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * 组
 *
 * @author chengjunchao
 * @version 1.0.0
 * @date 2021/12/6 16:53
 */
@Repository
public interface GroupMapper {
    /**
     * 获取
     *
     * @param id
     * @return
     */
    @Select(value = "select * from `group` limit 1")
    Group getOne();
}
